#!/bin/bash
# this is deepin-log-viewer-cli adapter.

para=$*
CMDPATTERN="^-"

if [[ "$para" =~ $CMDPATTERN ]]; then
	deepin-log-viewer ${para}
else
	deepin-log-viewer -h
fi